home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 1
/
The Arsenal Files (Arsenal Computer).ISO
/
dbase
/
tpxfix.doc
< prev
next >
Wrap
Text File
|
1994-03-02
|
7KB
|
151 lines
Listing of all template fixes for the current release of CDD (3007.1)
This file covers Template Releases 3007.101 to 3007.104
──────────────────────────────────────────────────────────────────────────────
Fixes from 3007.100 to 3007.101
BROWSEs, when clicking the mouse in an area not occupied with a field(), which
complets ACCEPT with a FIELD() value of 0. Behavior prior to 3007.100 was to
clear the field in the list box that corresponded to any locator (commonly
known as "trashing the list box"). Behavior for 3007.100 was to not "trash
the list box", but to re-read the record (and associated lookups) when moving
about the screen using TAB and SHIFT-TAB. Neither behavior occurs in 3007.101
BROWSEs, the "When Field is Completed" and "When Field is Selected" code for
fields on the screen was not being executed in versions prior to 3007.101.
BROWSE totals were not being correctly handled on aborted deletions.
FORMs were not handling Logging of multiple instances of the same physical
file. A #PROMPT now asks to "Disable RI Logout" in this case. This case
only applies to using "ALIASed" files, as described in the "Multiple
Relations" example in the Advanced Example program.
FORMs were not including %Primary in the RI LOGOUT() statements.
PRINTs were not placing a trailing backslash (\) in the correct position
of the TempFile assignment when creating a TempFile name for use with the
SCREEN option (not clipping before concatenating).
BATCHs had EMBED('Setup Procedure') in the wrong place. That EMBED should
have been directly after the CODE statement.
VIEWs were not correctly handling the saving of screen size prior to entry,
and the restoration of size upon procedure exit.
──────────────────────────────────────────────────────────────────────────────
Fixes from 3007.101 to 3007.102
BROWSEs, pressing the CHANGE and DELETE button was not updating totals. The
problem was in the handling of the FIELD() of ?CHANGE or ?DELETE correctly.
BROWSEs, Automatic ADD code (when browse empty) not updating totals.
BROWSES, having a pre-?List field on the screen used as a Range Limit field
was not operating correctly (the field was being filled with value from record
before filling ?List, eliminating entered value).
REPORTs, generating duplicate PRINT::pre::FooterFields ROUTINE labels.
FORMs, not correctly handling the opening and closing of files used in the RI
processing. In 3007.102, I added one (two if closing unused files) ROUTINE(s)
each for Update and Delete. These ROUTINES are called in ConstrainedUpdate
ROUTINE and ConstrainedDelete ROUTINE, preventing file opening flags from
being mishandled. This fix is sufficient in 98% of the cases using RI. In
the future, a more complete fix will be provided, but I need to determine the
impact and plan accordingly.
CHILDs, not generating the correct FillQueue ROUTINE with multi-part keys.
──────────────────────────────────────────────────────────────────────────────
Fixes from 3007.102 to 3007.103
BROWSE - When coming back from Update Procedure, Browse was not always
getting SELECTed. Moved SELECT(?List) from each individual portion of code
that called Update Procedure to UpdateProcedure ROUTINE, insuring that the
call is always made, and reducing overhead (a little).
BROWSE - Removed the explicit screen close, and the "Before Screen
Closing" EMBED. This EMBED has only been in 3007, and should never have been
released. Please move any code in this EMBED to "End of Procedure" EMBED.
BROWSE, LOOKUP, VALIDATE, SELECT - Added Edit Code to the Locator (CASE
FIELD() code).
BROWSE, LOOKUP, VALIDATE, SELECT - Did not respond to Hot Keys on Insert,
Change, or Delete buttons.
BROWSE - If called in Select Mode, and if no Edit Buttons were on-screen, the
Selection was made whenever the ?List was completed, rather than dependent on
KEYCODE().
LOOKUP, VALIDATE - Added Variable SAV::PullDownOpened, decalred when a
PullDown is Declared. This variable is used to control the closing of a
PullDown structure inside the procedure. It is impossible to remove both
calls to CLOSE(PullDown) because CHANGE() needs access to the screen that
called the Lookup or Validate, and if the PullDown is active it's possible
that the CHANGE could be misdirected.
FORM21 - Was missing RI Initialization Code
FORM21 - Was incorrectly handling Auto-Increment Keys.
FILE - Was not resetting the active directory correctly, due to the placement
of a trailing backslash (\) in the directory name. Added code to clip off
the final path character.
FORM - LOC:Message was being disabled at various times during FORM
processing, most notably the DELETING of a record. LOC:Message not stays
ENABLED.
FORM, MULTIPAGE - #IF Stack overflows were being experienced on dense
Relation Trees (fix and six levels of constrained relations). I relocated
the recursicve call in UpdateRelationSearch and DeleteRelationSearch, removing
two #IFs from the stack for each call.
FORM, MULTIPAGE, FORM21 - Moved the #INSERTs to AbortTransactionMsg to before
the issuing of the ROLLBACK command. This allows the ERROR received to be
captured correctly. The call to ShowWarning takes place AFTER the ROLLBACK,
to try to prevent users from CtrlBreaking out of the program during
processing.
FORM, MULTIPAGE, PAGEOF - The SecondaryLookups ROUTINE was issuing a DISPLAY
before the screen was opened, causing erratic behaviour in the calling
procedure. The DISPLAY was removed from SecondaryLookups ROUTINE. A DISPLAY
already took place after the screen was opened.
FORM, MULTIPAGE, PAGEOF - The call to SecondaryLookups was being made only if
the Action was Change or Delete. This resulted in lookups not being
performed after fields were primed on an add, and values from a previous set
of Lookups being displayed on an add.
LIST - Added "Process Selected Record" EMBED, to be used when Hot Records are
enabled. This brings the operation of the LIST procedure more in line with
the functionality outlined in the HELP for the procedure.
REPORT - Moved INSERT to %SaveFooterFields to after record validation code.
REPORT - Code to save key fields during Group Breaks was only saving the
field that corresponded to the first Group Break of the KEY. It should have
been saving all key fields up to and including the first Group Break.
SCREEN - Added CLOSE(PullDown) to ProcedureReturn ROUTINE.
SCREEN - Added DISPLAY after Setup Screen EMBED.
VIEW - When the ?ChangeMode button was pressed, and the screen was in 50 Row
mode, the screen was placed into a Virtual Screen Mode. This was due to
SetArea being set before SetText, in essence, we put the screen into 25
row area with a 50 row window, then made the window 25 rows, but the screen
was still in 50 row mode.
──────────────────────────────────────────────────────────────────────────────
Fixes from 3007.103 to 3007.104
FILE - No longer generates Compile ERROR on SETPATH command in ProcedureReturn
ROUTINE.